package com.wwwarehouse.usercenter.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.wwwarehouse.common.activity.base.BaseActivity;
import com.wwwarehouse.usercenter.R;
import com.wwwarehouse.usercenter.constant.UserCenterConstant;

/**
 * Created by Jackie on 2017/9/7.
 * PC 二维码扫描失败
 */

@Route(path = UserCenterConstant.PATH_PC_LOGIN_ERROR_ACTIVITY)
public class PCLoginErrorActivity extends BaseActivity implements View.OnClickListener {
    private ImageView mCloseImg;
    private Button mKnowBtn;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_pc_login_error);

        initView();
        initEvent();
    }

    private void initView() {
        mCloseImg = findView(R.id.iv_close);
        mKnowBtn = findView(R.id.btn_know);
    }

    private void initEvent() {
        mCloseImg.setOnClickListener(this);
        mKnowBtn.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        finishActivity();
    }
}
